package com.qqzone.qq.dao.impl;

import com.qqzone.myssm.basedao.BaseDAO;
import com.qqzone.qq.dao.HostReplyDao;
import com.qqzone.qq.pojo.HostReply;

public class HostReplyDaoImpl extends BaseDAO<HostReply> implements HostReplyDao {
    @Override
    public HostReply getHostReplyByReplyId(Integer replyId) {
        return super.load("select * from t_host_reply where reply = ?", replyId);
    }

    @Override
    public void delHostReply(Integer ReplyId) {
        super.executeUpdate("delete from t_host_reply where id = ?", ReplyId);
    }
}
